/*******************************************************************************
 * Copyright (c) 2010 NineConsult A/S (http://nine.dk) and others.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 *******************************************************************************/

package dk.nineconsult.jmoller.mapr;

import org.eclipse.emf.mwe2.language.scoping.NamespaceAwareScopeProvider;

/**
 * Use this class to register components to be used at runtime / without the Equinox extension registry.
 */
public class MaprRuntimeModule extends dk.nineconsult.jmoller.mapr.AbstractMaprRuntimeModule {
	
	// CHANGED: This is done to use a non-standard scope provider
	@Override
	public void configureIScopeProviderDelegate(com.google.inject.Binder binder) {
		binder.bind(org.eclipse.xtext.scoping.IScopeProvider.class).annotatedWith(com.google.inject.name.Names.named("org.eclipse.xtext.scoping.impl.AbstractDeclarativeScopeProvider.delegate")).to(NamespaceAwareScopeProvider.class);
	}
	
	
}
